package com.yss.reportworld.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.yss.common.security.annotation.RequiresPermissions;
import com.yss.reportworld.domain.TpGlExhibDatadict;
import com.yss.reportworld.service.ITpGlExhibDatadictService;
import com.yss.common.core.web.controller.BaseController;
import com.yss.common.core.web.page.TableDataInfo;

/**
 * 报表世界字典Controller
 *
 * @author yss
 * @date 2023-03-26
 */
@RestController
@RequestMapping("/datadict" )
public class TpGlExhibDatadictController extends BaseController {
    @Autowired
    private ITpGlExhibDatadictService tpGlExhibDatadictService;

    /**
     * 查询报表世界字典列表
     */
    @GetMapping("/list" )
    public TableDataInfo list(TpGlExhibDatadict tpGlExhibDatadict) {
        startPage();
        List<TpGlExhibDatadict> list = tpGlExhibDatadictService.selectTpGlExhibDatadictList(tpGlExhibDatadict);
        return getDataTable(list);
    }
}
